﻿#include "topo_body.h"

CAGD::TopoBody::TopoBody()
{
}

CAGD::TopoBody::~TopoBody()
{
    for (auto l : m_lumps)
        delete l;
}

std::vector<CAGD::TopoLump *> &CAGD::TopoBody::Lumps()
{
    return m_lumps;
}

CAGD::TopoType CAGD::TopoBody::Type() const
{
    return TopoType::BODY;
}
